﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <LinearGradientBrush x:Key="GradientOpacityMask" EndPoint="0,1">
        <GradientStop Color="#FFFFFFFF" Offset="0" />
        <GradientStop Color="#66FFFFFF" Offset="1" />
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="PopoutBackground"  EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF001127" Offset="1" />
        <GradientStop Color="#FF102548" Offset="0" />
    </LinearGradientBrush>
    <Style TargetType="TextBlock" x:Key="OverlayText">
        <Setter Property="FontWeight" Value="Medium" />
        <Setter Property="Foreground" Value="#FFFFEB66" />
        <Setter Property="Padding" Value="4 4 4 5" />
        <Setter Property="FontSize" Value="12"/>
        <Setter Property="FontFamily" Value="Verdana"></Setter>
        <Setter Property="Effect">
            <Setter.Value>
                <DropShadowEffect RenderingBias="Performance" BlurRadius="9" Color="#ff000000" ShadowDepth="0" Opacity="1" ></DropShadowEffect>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="Grid" x:Key="OverlayRowHighlight">
        <Setter Property="Background" Value="#444acefe"/>
    </Style>
    <Style TargetType="Border" x:Key="SolidPopoutBorder">
        <Setter Property="CornerRadius" Value="5"/>
        <Setter Property="BorderThickness" Value="2"/>
        <Setter Property="BorderBrush" Value="#FF2CB3E7"/>
        <Setter Property="Effect">
            <Setter.Value>
                <BlurEffect Radius="1"></BlurEffect>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="Border" x:Key="BlurPopoutBorder">
        <Setter Property="CornerRadius" Value="5"/>
        <Setter Property="BorderThickness" Value="4"/>
        <Setter Property="BorderBrush" Value="#FF289cd5"/>
        <Setter Property="Effect">
            <Setter.Value>
                <BlurEffect Radius="8"></BlurEffect>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="Border" x:Key="BackgroundPopoutBorder">
        <Setter Property="CornerRadius" Value="5"/>
        <Setter Property="BorderThickness" Value="2"/>
        <Setter Property="BorderBrush" Value="#FFFFFFFF"/>
        <Setter Property="Background" Value="{StaticResource PopoutBackground}"/>
    </Style>
    <Style TargetType="Border" x:Key="ContentPopoutBorder">
        <Setter Property="CornerRadius" Value="5"/>
        <Setter Property="BorderThickness" Value="2"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
    </Style>
    <Style TargetType="TextBlock" x:Key="OverlayTextBig" BasedOn="{StaticResource OverlayText}">
        <Setter Property="FontSize" Value="14"/>
    </Style>
    <Style TargetType="TextBlock" x:Key="OverlayTextBigAlt" BasedOn="{StaticResource OverlayTextBig}">
        <Setter Property="Foreground" Value="#FFFFF399" />
    </Style>
    <Style TargetType="TextBlock" x:Key="OverlayTextAlt" BasedOn="{StaticResource OverlayText}">
        <Setter Property="Foreground" Value="#FF99FF77" />
    </Style>
    <Style TargetType="TextBlock" x:Key="OverlayTextWhiteBig" BasedOn="{StaticResource OverlayTextBig}">
        <Setter Property="Foreground" Value="#FFFFFFFF" />
        <!--<Setter Property="Effect">
            <Setter.Value>
                <DropShadowEffect RenderingBias="Performance" BlurRadius="3" Color="#FFFFFFFF" ShadowDepth="0" Opacity="1" ></DropShadowEffect>
            </Setter.Value>
        </Setter>-->
    </Style>
    <Style TargetType="TextBlock" x:Key="OverlayTextGreenBig" BasedOn="{StaticResource OverlayTextBig}">
        <Setter Property="Foreground" Value="#FFBBFFAA" />
        <!--<Setter Property="Effect">
            <Setter.Value>
                <DropShadowEffect RenderingBias="Performance" BlurRadius="3" Color="#EEAAFF99" ShadowDepth="0" Opacity="1" ></DropShadowEffect>
            </Setter.Value>
        </Setter>-->
    </Style>
    <Style TargetType="TextBlock" x:Key="OverlayTextRedBig" BasedOn="{StaticResource OverlayTextBig}">
        <Setter Property="Foreground" Value="#FFFFBBAA" />
        <Setter Property="Effect">
            <Setter.Value>                
                <DropShadowEffect RenderingBias="Performance" BlurRadius="2" Color="#FFFF0000" ShadowDepth="0" Opacity="1" ></DropShadowEffect>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="TextBlock" x:Key="OverlayTextBlur">
        <Setter Property="FontWeight" Value="Medium" />
        <Setter Property="Foreground" Value="#FFFFEB66" />
        <Setter Property="Padding" Value="4 3 4 4" />
        <Setter Property="FontSize" Value="16"/>
        <Setter Property="FontFamily" Value="Verdana"></Setter>
        <Setter Property="Effect">
            <Setter.Value>
                <DropShadowEffect RenderingBias="Performance" BlurRadius="4" Color="#FFFFEB66" ShadowDepth="0" Opacity=".7" ></DropShadowEffect>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="Button" x:Key="OverlayButton">
        <Setter Property="SnapsToDevicePixels" Value="true"/>
        <Setter Property="OverridesDefaultStyle" Value="true"/>
        <Setter Property="Height" Value="17"/>
        <Setter Property="Width" Value="17"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="FontSize" Value="14"/>
        <Setter Property="Foreground" Value="#FF4acefe"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Border  x:Name="Border" CornerRadius="3" BorderThickness="1" Background="Transparent" BorderBrush="#FF4acefe" Opacity=".6">
                        <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" RecognizesAccessKey="True" />
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="true">
                            <Setter TargetName="Border" Property="BorderBrush" Value="#FF4acefe" />
                            <Setter TargetName="Border" Property="Opacity" Value="1" />
                        </Trigger>
                        <Trigger Property="IsPressed" Value="true">
                            <Setter TargetName="Border" Property="Background" Value="#554acefe" />
                            <Setter TargetName="Border" Property="BorderBrush" Value="#FF4acefe" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="PopOutProgress"
       TargetType="{x:Type ProgressBar}">
        <Setter Property="SnapsToDevicePixels" Value="true"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ProgressBar}">
                    <Grid MinHeight="14">
                        <Border 
              Name="PART_Track" 
              CornerRadius="2" 
              Background="Transparent"
              BorderBrush="#FF2aabde"
              BorderThickness="1" />
                        <Border 
              Name="PART_Indicator" 
              CornerRadius="2" 
              Background="#FF26668e" 
              BorderBrush="Transparent" 
              BorderThickness="1" 
              HorizontalAlignment="Left" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="PopOutProgressRed"
       TargetType="{x:Type ProgressBar}">
        <Setter Property="SnapsToDevicePixels" Value="true"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ProgressBar}">
                    <Grid MinHeight="14">
                        <Border 
              Name="PART_Track" 
              CornerRadius="2" 
              Background="Transparent"
              BorderBrush="#ffe27171"
              BorderThickness="1" />
                        <Border 
              Name="PART_Indicator" 
              CornerRadius="2" 
              Background="#FFc64d4d" 
              BorderBrush="Transparent" 
              BorderThickness="1" 
              HorizontalAlignment="Left" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>